import request from '@/utils/request'
import store from '../store'

const api_name = '/edu/student-and-course'
const user=store.state.user.user


export default {

    getc(id) {
        return request({
            url: `${api_name}/getc/` + id,
            method: 'get',

        })
    },
    gets(id) {
        return request({
            url: `${api_name}/gets/` + id,
            method: 'get',

        })
    },
    save(cid){
        return request({
            url: `${api_name}/save/`+cid ,
            method: 'get'

        })
    }
}